﻿<!DOCTYPE HTML>
<!-- saved from url=(0162)https://ivle.nus.edu.sg/v1/Assessment/Student/result_details.aspx -->
<!DOCTYPE html PUBLIC "" ""><HTML><HEAD><META content="IE=11.0000" 
http-equiv="X-UA-Compatible">

<META http-equiv="X-UA-Compatible" content="IE=edge">     <!-- Ensure IE uses the latest version --> 
    <TITLE>	IVLE Assessment </TITLE>     <!-- Define UTF8 as character set -->   
  
<META charset="utf-8">     <!-- Set viewport to device width, default zoom 100%--> 
    
<META name="viewport" content="width=device-width, initial-scale=1.0">     <!-- Boot strap css --> 
    <LINK href="IVLE%20Assessment4_files/bootstrap.css" rel="stylesheet">     <!-- custom icon css --> 
    <LINK href="IVLE%20Assessment4_files/fontello.css" rel="stylesheet"><LINK 
href="IVLE%20Assessment4_files/font-awesome.min.css" rel="stylesheet">     <!-- CSS specific to the site --> 
    <LINK href="IVLE%20Assessment4_files/site.css" rel="stylesheet">     <!-- SCRIPTS MUST BE IN THE ORDER BELOW, DO NOT ATTEMPT TO MODIFY ANYTHING --> 
    
<SCRIPT src="IVLE%20Assessment4_files/modernizr-2.6.2.js"></SCRIPT>
     
<SCRIPT src="IVLE%20Assessment4_files/jquery-1.10.2.min.js"></SCRIPT>
     
<SCRIPT src="IVLE%20Assessment4_files/jquery-ui.min.js"></SCRIPT>
     
<SCRIPT src="IVLE%20Assessment4_files/bootstrap.min.js"></SCRIPT>
     
<SCRIPT src="IVLE%20Assessment4_files/respond.min.js"></SCRIPT>
     
<SCRIPT src="IVLE%20Assessment4_files/jquery.xdomainrequest.min.js"></SCRIPT>
     <!-- JS specific to the site -->     
<SCRIPT src="IVLE%20Assessment4_files/site.js"></SCRIPT>
 
<META name="GENERATOR" content="MSHTML 11.00.10570.1001"></HEAD> 
<BODY>
<FORM id="aspnetForm" action="./result_details.aspx?assessmentid=e95bdfc7-c5dc-4e41-ac05-0a5708e84642&amp;sessionid=b82d2395-6073-4ab8-9d4e-27c7aae1c540" 
method="post">
<DIV><INPUT name="__EVENTTARGET" id="__EVENTTARGET" type="hidden"> <INPUT name="__EVENTARGUMENT" id="__EVENTARGUMENT" type="hidden"> 
<INPUT name="__VIEWSTATE" id="__VIEWSTATE" type="hidden" value="/wEPZwUPOGQ0Y2Y1ODY2YmFkMzc1cxjN1YgpfHJZDLMrB5aHSVNBPpiHECCANf3xNPDnr40="> 
</DIV>
<SCRIPT type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</SCRIPT>
 
<SCRIPT src="IVLE%20Assessment4_files/WebResource.js" type="text/javascript"></SCRIPT>
 
<DIV><INPUT name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" type="hidden" value="F3A538DD">
	 <INPUT name="__SCROLLPOSITIONX" id="__SCROLLPOSITIONX" type="hidden" value="0">
	 <INPUT name="__SCROLLPOSITIONY" id="__SCROLLPOSITIONY" type="hidden" value="0"> 
</DIV>
<DIV class="col-md-12">
<DIV class="panel panel-default">
<DIV class="panel-heading"><BUTTON class="close" aria-hidden="true" onclick="javascript:window.close();" 
type="button">×</BUTTON>                                     
<H4>RI3007 - Quiz 4</H4></DIV>
<DIV class="panel-body">
<SCRIPT src="IVLE%20Assessment4_files/disableRightClick.js" type="text/javascript"></SCRIPT>
     
<SCRIPT src="IVLE%20Assessment4_files/MathJax.js" type="text/javascript"></SCRIPT>
     
<SCRIPT type="text/javascript">
        window.onunload = refreshParent;
        function refreshParent() {
            window.opener.location.reload();
        }
    </SCRIPT>
     
<DIV class="panel panel-default">
<DIV class="panel-heading"></DIV>
<DIV class="panel-body">
<TABLE class="table table-hover">
  <TBODY>
  <TR>
    <TD><LABEL class="col-md-3 text-right">Assessment Title :</LABEL>          
                     
      <DIV class="col-md-9" id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_lblQuizTitle">Quiz 
      4</DIV></TD></TR>
  <TR>
    <TD><LABEL class="col-md-3 text-right">Number of Attempts :</LABEL>        
                       
      <DIV class="col-md-9" id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_lblAttempt">1&nbsp;out 
      of&nbsp;1</DIV></TD></TR>
  <TR>
    <TD><LABEL class="col-md-3 text-right">Student Name :</LABEL>              
                 
      <DIV class="col-md-9" id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_lblStudent">CHEN 
      YANG</DIV></TD></TR>
  <TR>
    <TD><LABEL class="col-md-3 text-right">Duration :</LABEL>                  
             
      <DIV class="col-md-9" id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_lblDuration">20m 
      &nbsp;&nbsp;(Time Limit : 20 m)</DIV></TD></TR>
  <TR>
    <TD><LABEL class="col-md-3 text-right">Start Time :</LABEL>                
               
      <DIV class="col-md-9" id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_lblStartTime">20-Jul-2017 
      09:34 AM</DIV></TD></TR>
  <TR id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_rowMarks">
    <TD><LABEL class="col-md-3 text-right">Total Marks :</LABEL>               
                
      <DIV class="col-md-9 text-danger" id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_lblTotalMark">0 
      out of 9</DIV></TD></TR></TBODY></TABLE></DIV></DIV>
<DIV class="alert alert-info" id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_lblInfo">You 
can always view your assessment feedback by clicking on Usage/My Usage in the 
horizontal menu from the IVLE Workspace.</DIV>
<DIV class="row">
<DIV class="col-md-12 text-right" style="padding-bottom: 0.8em;"><BUTTON class="btn btn-default" 
id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_btnEmail" onclick="__doPostBack('ctl00$ctl00$ContentPlaceHolder1$ContentPlaceHolder1$btnEmail','')" 
type="button" data-toggle="popover" data-content="Send the summary of this attempt to my email address." 
data-placement="left" data-data-container="body"><SPAN class="glyphicon glyphicon-envelope"></SPAN>&nbsp;Email 
Me</BUTTON>         </DIV></DIV>
<DIV class="panel-group" id="ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_divMain">
<DIV class="panel panel-default">
<DIV class="panel-heading">
<H4 class="panel-title"><A class="accordion-toggle" href="https://ivle.nus.edu.sg/v1/Assessment/Student/result_details.aspx?assessmentid=e95bdfc7-c5dc-4e41-ac05-0a5708e84642&amp;sessionid=b82d2395-6073-4ab8-9d4e-27c7aae1c540#collapseSection1" 
data-toggle="collapse" data-parent="#accordion">Section 1</A>                    
 </H4></DIV>
<DIV class="panel-collapse collapse in" id="collapseSection1">
<DIV class="panel-body">
<DIV class="form-inline"><B>1)</B>&nbsp;&nbsp;
<P class="MsoListParagraph" style="text-indent: -0.25in; margin-left: 0.5in; mso-para-margin-left: 0gd; mso-list: l0 level1 lfo1;">Our 
game engine interfaces to the client programs via the <B style="mso-bidi-font-weight: normal;">Scene 
</B>object where:<o:p></o:p></P>
<P class="MsoListParagraph" style="text-indent: -0.25in; margin-left: 1in; mso-para-margin-left: 0gd; mso-list: l0 level2 lfo1;"><!--[if !supportLists]--><SPAN 
style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><SPAN 
style="mso-list: Ignore;">a.<SPAN style='font: 7pt/normal "Times New Roman"; font-size-adjust: none; font-stretch: normal;'>&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN></SPAN><!--[endif]-->The<B style="mso-bidi-font-weight: normal;"> 
Scene</B> object <B style="mso-bidi-font-weight: normal;">loadScene()</B> 
function is called by this engine component: &nbsp;<INPUT disabled="" class="form-control" type="text"><o:p></o:p></P>
<P class="MsoListParagraph" style="text-indent: -0.25in; margin-left: 1in; mso-para-margin-left: 0gd; mso-list: l0 level2 lfo1;"><!--[if !supportLists]--><SPAN 
style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><SPAN 
style="mso-list: Ignore;">b.<SPAN style='font: 7pt/normal "Times New Roman"; font-size-adjust: none; font-stretch: normal;'>&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN></SPAN><!--[endif]-->The <B 
style="mso-bidi-font-weight: normal;">Scene</B> object <B style="mso-bidi-font-weight: normal;">initialize()</B> 
function is called by this engine component: &nbsp;<INPUT disabled="" class="form-control" type="text"><o:p></o:p></P>
<P class="MsoListParagraph" style="text-indent: -0.25in; margin-left: 1in; mso-para-margin-left: 0gd; mso-list: l0 level2 lfo1;"><!--[if !supportLists]--><SPAN 
style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><SPAN 
style="mso-list: Ignore;">c.<SPAN style='font: 7pt/normal "Times New Roman"; font-size-adjust: none; font-stretch: normal;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN></SPAN><!--[endif]-->The <B 
style="mso-bidi-font-weight: normal;">Scene</B> object <B style="mso-bidi-font-weight: normal;">update()</B> 
and <B style="mso-bidi-font-weight: normal;">draw() </B>functions are called by 
this engine component: 
<INPUT disabled="" class="form-control" type="text"><o:p></o:p></P>
<P class="MsoListParagraph" style="text-indent: -0.25in; margin-left: 1in; mso-para-margin-left: 0gd; mso-list: l0 level2 lfo1;"><!--[if !supportLists]--><SPAN 
style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><SPAN 
style="mso-list: Ignore;">d.<SPAN style='font: 7pt/normal "Times New Roman"; font-size-adjust: none; font-stretch: normal;'>&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN></SPAN><!--[endif]-->The <B 
style="mso-bidi-font-weight: normal;">Scene</B> object <B style="mso-bidi-font-weight: normal;">unloadScene()</B> 
function is called by this engine component: <INPUT disabled="" class="form-control" type="text"><o:p></o:p></P>
<P class="MsoNormal" style="margin-left: 0.5in;">Note, the question asks you 
which are the <I style="mso-bidi-font-style: normal;">engine components </I>that 
actually call each of the above functions. Make sure you know the difference 
between the actual invoking of a function and when a function is being passed as 
part of a parameter.<B 
style="mso-bidi-font-weight: normal;"><o:p></o:p></B></P></DIV>
<DIV class="row" style="padding-top: 0.8em;">
<TABLE class="table table-bordered table-condensed">
  <TBODY>
  <TR>
    <TD class="col-sm-3 text-right"><B>Your Answer :</B></TD>
    <TD 
      class="col-sm-9">EngineCore.js<BR>EngineCore_Loop.js<BR>EngineCore_Loop.js<BR>EngineCore_Loop.js</TD></TR>
  <TR>
    <TD class="col-sm-3 text-right"><B>Correct Answer :</B></TD>
    <TD 
      class="col-sm-9">gEngine.Core|Core|Engine_Core<BR>gEngine.ResourceMap|ResourceMap|Engine_ResourceMap<BR>gEngine.GameLoop|GameLoop|Engine_GameLoop<BR>gEngine.GameLoop|GameLoop|Engine_GameLoop</TD></TR>
  <TR>
    <TD class="col-sm-3 text-right"><B>Your Marks :</B></TD>
    <TD class="col-sm-9 text-danger">0 out of 4</TD></TR></TBODY></TABLE></DIV>
<DIV class="form-inline"><B>2)</B>&nbsp;&nbsp;
<P class="MsoListParagraph" style="text-indent: -0.25in; margin-left: 0.5in; mso-para-margin-left: 0gd; mso-list: l0 level1 lfo1;">The 
<B style="mso-bidi-font-weight: normal;">ResourceMap</B> engine component helps 
keep track of all kinds of resources. Please identify three distinct data types 
for information that are referenced directly by the <B style="mso-bidi-font-weight: normal;">MapEntry 
</B>object in the <B style="mso-bidi-font-weight: normal;">ResourceMap</B>. Note 
the question asks you to list the <B style="mso-bidi-font-weight: normal;"><I 
style="mso-bidi-font-style: normal;">data types</I></B> for the information 
referenced, i.e., pointed to by the <B 
style="mso-bidi-font-weight: normal;">MapEntry.mAsset</B> variable. For example, 
we know that GLSL shader source code is referenced directly by the <B style="mso-bidi-font-weight: normal;">MapEntry.mAsset</B> 
variable in the <B style="mso-bidi-font-weight: normal;">ResoruceMap</B>. So, in 
this case the data type being referenced <I 
style="mso-bidi-font-style: normal;">directly </I>is <B style="mso-bidi-font-weight: normal;">String</B>. 
Please list <B style="mso-bidi-font-weight: normal;"><U>two of the three</U></B> 
additional data types that are being referenced by the <B style="mso-bidi-font-weight: normal;">MapEntry.mAsset</B> 
variables in the <B style="mso-bidi-font-weight: normal;">ResrouceMap</B>: you 
should look at our source code, and go onto the internet to find out the data 
type we are storing!<o:p></o:p></P>
<P class="MsoListParagraph" style="text-indent: -0.25in; margin-left: 1in; mso-para-margin-left: 0gd; mso-list: l0 level2 lfo1;"><!--[if !supportLists]--><SPAN 
style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><SPAN 
style="mso-list: Ignore;">a.<SPAN style='font: 7pt/normal "Times New Roman"; font-size-adjust: none; font-stretch: normal;'>&nbsp; 
&nbsp; 
&nbsp;<INPUT disabled="" class="form-control" type="text"></SPAN></SPAN></SPAN>, 
and<o:p></o:p></P>
<P class="MsoListParagraph" style="text-indent: -0.25in; margin-left: 1in; mso-para-margin-left: 0gd; mso-list: l0 level2 lfo1;"><!--[if !supportLists]--><SPAN 
style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><SPAN 
style="mso-list: Ignore;">b.<SPAN style='font: 7pt/normal "Times New Roman"; font-size-adjust: none; font-stretch: normal;'>&nbsp;&nbsp;&nbsp;&nbsp; 
<INPUT disabled="" class="form-control" type="text"></SPAN></SPAN></SPAN>.</P></DIV>
<DIV class="row" style="padding-top: 0.8em;">
<TABLE class="table table-bordered table-condensed">
  <TBODY>
  <TR>
    <TD class="col-sm-3 text-right"><B>Your Answer :</B></TD>
    <TD class="col-sm-9">JSON<BR>XML</TD></TR>
  <TR>
    <TD class="col-sm-3 text-right"><B>Correct Answer :</B></TD>
    <TD class="col-sm-9">XMLDocument<BR>AudioBuffer</TD></TR>
  <TR>
    <TD class="col-sm-3 text-right"><B>Your Marks :</B></TD>
    <TD class="col-sm-9 text-danger">0 out of 2</TD></TR></TBODY></TABLE></DIV>
<DIV class="form-inline"><B>3)</B>&nbsp;&nbsp;
<P class="MsoListParagraph" style="text-indent: -0.25in; margin-left: 0.5in; mso-para-margin-left: 0gd; mso-list: l0 level1 lfo1;"><!--[if !supportLists]--><B 
style="mso-bidi-font-weight: normal;"><SPAN style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><SPAN 
style="mso-list: Ignore;">1.<SPAN style='font: 7pt/normal "Times New Roman"; font-size-adjust: none; font-stretch: normal;'>&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN></SPAN></SPAN></B><!--[endif]-->In our game engine, after the default 
system resources (e.g., the GLSL vertex and fragment shader files) are loaded, 
<U><SPAN style="mso-spacerun: yes;">&nbsp;</SPAN>(a):</U>&nbsp;<INPUT disabled="" class="form-control" type="text"><SPAN 
style="mso-spacerun: yes;">&nbsp;</SPAN>will call an anonymous function which in 
turn will call <U><SPAN style="mso-spacerun: yes;">&nbsp;</SPAN>(b):<SPAN style="mso-spacerun: yes;">&nbsp;</SPAN></U><SPAN 
style="mso-spacerun: yes;">&nbsp;<INPUT disabled="" class="form-control" type="text">&nbsp;</SPAN>defined 
in <SPAN style="mso-spacerun: yes;">&nbsp;</SPAN>(c):<B style="mso-bidi-font-weight: normal;">&nbsp; 
</B><SPAN 
style="mso-spacerun: yes;"><INPUT disabled="" class="form-control" type="text"></SPAN></P></DIV>
<DIV class="row" style="padding-top: 0.8em;">
<TABLE class="table table-bordered table-condensed">
  <TBODY>
  <TR>
    <TD class="col-sm-3 text-right"><B>Your Answer :</B></TD>
    <TD 
      class="col-sm-9">EngineCore.js<BR>initialize<BR>Engine_DefaultResources.js</TD></TR>
  <TR>
    <TD class="col-sm-3 text-right"><B>Correct Answer :</B></TD>
    <TD 
      class="col-sm-9">ResourceMap<BR>createShaders|createShaders()<BR>DefaultResources</TD></TR>
  <TR>
    <TD class="col-sm-3 text-right"><B>Your Marks :</B></TD>
    <TD class="col-sm-9 text-danger">0 out of 
3</TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV></DIV>
<DIV class="row">
<DIV class="col-md-12 text-right"><BUTTON class="btn btn-primary" onclick="window.close();" 
type="button"><SPAN 
class="glyphicon glyphicon-remove-circle"></SPAN>&nbsp;Close</BUTTON>         
</DIV></DIV></DIV></DIV></DIV>
<SCRIPT type="text/javascript">
//<![CDATA[

theForm.oldSubmit = theForm.submit;
theForm.submit = WebForm_SaveScrollPositionSubmit;

theForm.oldOnSubmit = theForm.onsubmit;
theForm.onsubmit = WebForm_SaveScrollPositionOnSubmit;
//]]>
</SCRIPT>
 </FORM></BODY></HTML>
